package com.etc.common;

/**
 * @Author kalista
 * @Description
 * @Date 2021/2/19  16:03
 **/
public enum ResultStatusEnums {



    SUCCESS(200,"success"),
    // 用户类型 500 ---》
    WRONG_PASSWORD(501,"密码错误"),
    USER_DOES_NOT_EXIST(502,"用户不存在"),
    USERNAME_IS_NULL(503,"用户名为空"),
    USERNAME_IS_NOT_NULL(504,"用户名已存在"),
    PASSWORD_IS_NULL(505,"密码五为空"),
    AUTHENTICATION_FAILED(506,"认证失败"),
    TAIMANG(507,"客观稍等一会"),
    // 订单类型 600 --》
    ;

    private final  Integer type;
    private final  String value;


    ResultStatusEnums(Integer type, String value) {
        this.type = type;
        this.value = value;
    }

    public Integer getType() {
        return type;
    }

    public String getValue() {
        return value;
    }
}
